Skip to content

Comments

feat: add installation script and CI release improvements#565

Merged
bug-ops merged 1 commit intomainfrom
feat/install-script
Feb 18, 2026
Merged

feat: add installation script and CI release improvements#565
bug-ops merged 1 commit intomainfrom
feat/install-script

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Feb 18, 2026

Summary

  • Add install/install.sh — POSIX shell installer for one-command binary installation on macOS and Linux
  • Scope release.yml permissions per-job (least privilege)
  • Include install.sh in GitHub Release assets
  • Add lint-shellcheck job to CI pipeline

Install script features

  • Detect OS (Darwin/Linux) and arch (x86_64/aarch64/arm64)
  • Download from GitHub Releases with mandatory SHA256 verification
  • Install to $ZEPH_INSTALL_DIR (default ~/.zeph/bin)
  • Idempotent PATH configuration for bash, zsh, fish
  • --version <tag> flag with format validation
  • Fallback from curl to wget

Security improvements

  • Workflow-level permissions reduced to contents: read
  • create-release job: contents: write (scoped)
  • docker-publish job: contents: read, packages: write (scoped)

Test plan

  • shellcheck install/install.sh passes
  • sh install.sh --help prints usage
  • sh install.sh --version v0.10.0 installs specific version
  • sh install.sh installs latest release
  • CI lint-shellcheck job passes
  • Release workflow includes install.sh in assets

@github-actions github-actions bot added enhancement New feature or request size/L ci labels Feb 18, 2026
Add install/install.sh for one-command binary installation on macOS/Linux.
Scope release.yml permissions per-job and include install.sh in release assets.
Add shellcheck lint job to CI pipeline.
@bug-ops bug-ops force-pushed the feat/install-script branch from 4a464c5 to 2398dd3 Compare February 18, 2026 23:03
@bug-ops bug-ops enabled auto-merge (squash) February 18, 2026 23:04
@bug-ops bug-ops merged commit 1438697 into main Feb 18, 2026
20 checks passed
@bug-ops bug-ops deleted the feat/install-script branch February 18, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci enhancement New feature or request size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant